January 4

How to find out what switchport a device is connected to in Cisco switch

Problem:

trying to find out which switch port a computer is connected to, the wall jack doesn’t have a label to tell the switchport.

Solutions:

Step 1 use command  terminal monitor

Step 2 disconnect/reconnect the computer from the network

The output shows the computer is connected to interface g1/0/44

Disconnection:

Mar 9 20:46:53.580 SV: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/44, changed state to down

Mar 9 20:46:54.594 SV: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/44, changed state to down

Connection:

Mar 9 20:47:02.311 SV: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/44, changed state to up
Mar 9 20:47:03.311 SV: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/44, changed state to up

Category: Cisco | LEAVE A COMMENT
January 1

How to locate a device using mac address in Cisco switch

  • log into Cisco switch Ping device’s IP address first and

  • find the mac address using show arp | include 99  (note: use include to filter the output)

  • use show mac address-table | include 8cce (note: use part of the mac address to filter the result)

  • Here, we know that the device is connect to port 9

Note: if the one switch is connected to another switch, we can use show cdp neighbors  and show cdp neighbors deail to find out the ip address of the connected switch  .

Category: Cisco | LEAVE A COMMENT
December 21

How to backup and restore CISCO Router and Switch Config file to Flash Drive

First, Plug in flash drive with the terminal up and pay attention what the device is identified as by runing:

show file systems

in this case we can see usbflash1 is the external USB drive

(The USB drive might need to be formatted as FAT. Can do it right within the router.  Here is the command format usbflash1: ) Please make sure to format the correct USB drive

Backup:

 copy run usbflash1:/

Restore:

copy usbflash1:/the-backup-file-name starup-config

Category: Cisco | LEAVE A COMMENT
December 19

Office 365: Hide a user from the GAL when using Azure AD Connect

Error message: 

The operation on mailbox “John” failed because it’s out of the current user’s write scope. The action
‘Set-Mailbox’, ‘HiddenFromAddressListsEnabled’, can’t be performed on the object ‘John’ because the object
is being synchronized from your on-premises organization. This action should be performed on the object in your
on-premises organization.

How to fix it:

  1. Open Active Directory Users & Computers.
  2. Enable Advanced Features by clicking View > Advanced Features.
  3. Set the msExchHideFromAddressLists attribute to True

4. set the mailNickname field.