Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
cisco output
###
### All VLANs
###
Cisco24#show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Gi3/0/3, Gi3/0/4, Gi3/0/5
Gi3/0/6, Gi3/0/7, Gi3/0/8
Gi3/0/9, Gi3/0/10, Gi3/0/11
Gi3/0/12, Gi3/0/13, Gi3/0/14
Gi3/0/15, Gi3/0/16, Gi3/0/17
Gi3/0/18, Gi3/0/19, Gi3/0/20
Gi3/0/21, Gi3/0/22, Gi3/0/23
Gi3/0/24, Gi3/0/25, Gi3/0/26
Gi3/0/27, Gi3/0/28
20 guest active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
20 enet 100020 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0
Remote SPAN VLANs
------------------------------------------------------------------------------
Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------
###
### Firewall Port
###
Cisco24#show interfaces Gi3/0/1 trunk
Port Mode Encapsulation Status Native vlan
Gi3/0/1 on 802.1q trunking 1
Port Vlans allowed on trunk
Gi3/0/1 1-4094
Port Vlans allowed and active in management domain
Gi3/0/1 1,20
Port Vlans in spanning tree forwarding state and not pruned
Gi3/0/1 none
Cisco24#show interfaces Gi3/0/1 switchport
Name: Gi3/0/1
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk associations: none
Administrative private-vlan trunk mappings: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
Protected: false
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Appliance trust: none
###
### Unifi Port
###
Cisco24#show interfaces Gi3/0/2 trunk
Port Mode Encapsulation Status Native vlan
Gi3/0/2 on 802.1q trunking 1
Port Vlans allowed on trunk
Gi3/0/2 1-4094
Port Vlans allowed and active in management domain
Gi3/0/2 1,20
Port Vlans in spanning tree forwarding state and not pruned
Gi3/0/2 1,20
Cisco24#show interfaces Gi3/0/2 switchport
Name: Gi3/0/2
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk associations: none
Administrative private-vlan trunk mappings: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
Protected: false
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Appliance trust: none
###
### show run
###
Cisco24#show run
Building configuration...
Current configuration : 3555 bytes
!
! Last configuration change at 10:38:20 UTC Thu Feb 13 2020
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Cisco24
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 ***
enable password ***
!
no aaa new-model
switch 3 provision ws-c3750g-24ps
system mtu routing 1500
!
!
!
!
!
crypto pki trustpoint TP-self-signed-1454355584
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-1454355584
revocation-check none
rsakeypair TP-self-signed-1454355584
!
!
crypto pki certificate chain TP-self-signed-1454355584
certificate self-signed 01
******
quit
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
!
!
!
!
!
!
!
!
!
interface GigabitEthernet3/0/1
description router
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet3/0/2
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet3/0/3
!
interface GigabitEthernet3/0/4
!
interface GigabitEthernet3/0/5
!
interface GigabitEthernet3/0/6
switchport trunk encapsulation dot1q
switchport mode access
!
interface GigabitEthernet3/0/7
!
interface GigabitEthernet3/0/8
!
interface GigabitEthernet3/0/9
!
interface GigabitEthernet3/0/10
!
interface GigabitEthernet3/0/11
!
interface GigabitEthernet3/0/12
!
interface GigabitEthernet3/0/13
!
interface GigabitEthernet3/0/14
!
interface GigabitEthernet3/0/15
!
interface GigabitEthernet3/0/16
!
interface GigabitEthernet3/0/17
!
interface GigabitEthernet3/0/18
!
interface GigabitEthernet3/0/19
!
interface GigabitEthernet3/0/20
!
interface GigabitEthernet3/0/21
!
interface GigabitEthernet3/0/22
!
interface GigabitEthernet3/0/23
!
interface GigabitEthernet3/0/24
!
interface GigabitEthernet3/0/25
!
interface GigabitEthernet3/0/26
!
interface GigabitEthernet3/0/27
!
interface GigabitEthernet3/0/28
!
interface Vlan1
no ip address
shutdown
!
interface Vlan100
description dmz
ip address dhcp
!
ip http server
ip http secure-server
!
!
!
!
!
!
line con 0
line vty 0 4
password ****
login
line vty 5 15
password ****
login
!
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment