Cisco icons are globally recognized and generally accepted as standard for network icon topologies. You may use them freely, but you may not alter them.
As stated online.
You can import these stenciles very easily within yEd.
Click on Edit -> Manage Palette. Press the 'Import Section...' button and finnaly select one or both graphml files from this repository.