cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
497
Views
1
Helpful
4
Replies

Interface configuration not showing logging events in running config

subodh goyal
Level 1
Level 1

 

This is the standard template we are using for AP connected interfaces.

interface GigabitEthernet 1/0/8
descriptionXXXXX
spanning-tree portfast
switchport
switchport mode access
switchport access vlan 90
logging event link-status
logging event power-inline-status
service-policy input AutoQos-4.0-Trust-Cos-Input-Policy service-policy output AutoQos-4.0-Output-Policy
no shutdown

But after configuration, Below is the configuration Switch interface is showing. Request you to let us know the reason why interface not showing logging event commands.

CANBMON0017-L2-ACC-SW01#sh run int GigabitEthernet1/0/28
Building configuration...

Current configuration : 176 bytes
!
interface GigabitEthernet1/0/28
description ** Conenction to Cisco Access Point **
switchport trunk native vlan 4
switchport mode trunk
spanning-tree portfast trunk
end

 

4 Replies 4

Richard Burts
Hall of Fame
Hall of Fame

One of the things to understand about the output of show run is that it usually does not show commands that are set to their default value. You might try the command show run all int Gi1/0/28 which should show all commands.

HTH

Rick

To see in the output all commands, even those that are set to their default values, you can use the command show run all.

You cannot combine it with a specific interface, but you could do instead show run all | begin GigabitEthernet1/0/28 to narrow a bit the output.

Hope this helps.

Regards, LG
*** Please Rate All Helpful Responses ***

Thank you for pointing out the flaw in my suggestion. 

HTH

Rick

whiteicebear1
Level 1
Level 1

Even with a "sh run all" it's not showing up

interface GigabitEthernet1/0/25
description # PSAPGF01 #
mvrp timer leave-all 1000
mvrp timer leave 60
mvrp timer join 20
no mvrp timer periodic
no mvrp
switchport
switchport access vlan 151
switchport trunk allowed vlan all
no switchport autostate exclude
switchport private-vlan trunk encapsulation dot1q
switchport private-vlan trunk native vlan tag
switchport mode access
no switchport nonegotiate
no switchport protected
no switchport block multicast
no switchport block unicast
no switchport vepa enabled
no switchport app-interface
switchport port-security maximum 65535 vlan voice
no switchport port-security mac-address sticky
no ip arp inspection trust
ip arp inspection limit rate 15 burst interval 1
ip arp inspection limit rate 15
logging event link-status
load-interval 300
carrier-delay 2
no shutdown
power inline port priority low
power inline auto max 30000
power inline static
power inline never
power inline police
no medium p2p
cdp log mismatch duplex
cdp tlv location
cdp tlv server-location
cdp tlv app
ipv6 mld snooping tcn flood
no macsec replay-protection
snmp trap mac-notification change added
snmp trap mac-notification change removed
snmp trap link-status
no mka pre-shared-key
mka default-policy
bfd enable
arp arpa
arp timeout 14400
lldp transmit
lldp receive
lldp tlv-select power-management
lldp tlv-select 4-wire-power-management
lldp med-tlv-select network-policy
lldp med-tlv-select power-management
lldp med-tlv-select location
lldp med-tlv-select inventory-management
channel-group auto
spanning-tree portfast disable
spanning-tree portfast trunk
spanning-tree portfast
spanning-tree port-priority 128
spanning-tree cost 0
hold-queue 2000 in
hold-queue 40 out
ip igmp snooping tcn flood
no bgp-policy accounting input
no bgp-policy accounting output
no bgp-policy accounting input source
no bgp-policy accounting output source
no bgp-policy source ip-prec-map
no bgp-policy source ip-qos-map
no bgp-policy destination ip-prec-map
no bgp-policy destination ip-qos-map

 

Greets

 

Tim