[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-572492-105":53,"doc-detail-572492-en":127},{"code":4,"msg":5,"data":6},0,"success",[7,14,19,24,29,34,39,44,49],{"id":8,"doc_module":9,"doc_module_name":10,"category_name":11,"show_sort_weight":12,"slug":13},11,1,"Template","Presentations",90,"presentations",{"id":15,"doc_module":9,"doc_module_name":10,"category_name":16,"show_sort_weight":17,"slug":18},12,"Resumes",80,"resumes",{"id":20,"doc_module":9,"doc_module_name":10,"category_name":21,"show_sort_weight":22,"slug":23},14,"Invoices",70,"invoices",{"id":25,"doc_module":9,"doc_module_name":10,"category_name":26,"show_sort_weight":27,"slug":28},15,"Posters",60,"posters",{"id":30,"doc_module":9,"doc_module_name":10,"category_name":31,"show_sort_weight":32,"slug":33},16,"Social Media",50,"social-media",{"id":35,"doc_module":9,"doc_module_name":10,"category_name":36,"show_sort_weight":37,"slug":38},17,"Forms",40,"forms",{"id":40,"doc_module":9,"doc_module_name":10,"category_name":41,"show_sort_weight":42,"slug":43},18,"Letters",30,"letters",{"id":45,"doc_module":9,"doc_module_name":10,"category_name":46,"show_sort_weight":47,"slug":48},21,"Paper Templates",5,"papers-templates",{"id":50,"doc_module":9,"doc_module_name":10,"category_name":51,"show_sort_weight":4,"slug":52},158,"General","general-158",{"code":4,"msg":54,"data":55},"ok",{"site_id":56,"language":57,"slug":58,"title":59,"keywords":60,"description":61,"schema_data":62,"social_meta":120,"head_meta":122,"extra_data":124,"updated_unix":126},105,"en","ip-command-cheat-sheet-for-red-hat-enterprise-linux","ip Command Cheat Sheet - for Red Hat Enterprise Linux","","Quick-reference cheat sheet for the ip command suite on Red Hat Enterprise Linux, covering IP queries, subcommands, and practical tasks for managing addresses, links, multicast settings, routing, and ARP/neighbor entries. Includes example syntax for viewing interface and address data, adding or removing addresses, bringing interfaces up or down, configuring MTU and promiscuous mode, creating and deleting routes, and maintaining the neighbor cache. Also lists useful related networking tools and compares net-tools versus iproute2 commands.",{"@graph":63,"@context":119},[64,80,102],{"@type":65,"itemListElement":66},"BreadcrumbList",[67,71,74,77],{"item":68,"name":69,"@type":70,"position":9},"https://docshare.wps.com","Home","ListItem",{"item":72,"name":10,"@type":70,"position":73},"https://docshare.wps.com/template/",2,{"item":75,"name":11,"@type":70,"position":76},"https://docshare.wps.com/template/presentations/",3,{"item":78,"name":59,"@type":70,"position":79},"https://docshare.wps.com/template/ip-command-cheat-sheet-for-red-hat-enterprise-linux/572492/",4,{"url":78,"name":59,"@type":81,"image":82,"author":87,"headline":59,"publisher":90,"fileFormat":93,"inLanguage":57,"description":61,"dateModified":94,"datePublished":95,"encodingFormat":93,"isAccessibleForFree":96,"interactionStatistic":97},"DigitalDocument",{"url":83,"@type":84,"width":85,"height":86},"https://docshare.wps.com/thumbnails/ip-command-cheat-sheet-for-red-hat-enterprise-linux/572492.png","ImageObject",442,249,{"name":88,"@type":89},"Olivia Brown","Person",{"url":68,"name":91,"@type":92},"DocShare","Organization","application/pdf","2026-10-19","2026-10-13",true,{"@type":98,"interactionType":99,"userInteractionCount":101},"InteractionCounter",{"@type":100},"ViewAction",8,{"@type":103,"mainEntity":104},"FAQPage",[105,111,115],{"name":106,"@type":107,"acceptedAnswer":108},"What are the main ip query subcommands covered in the cheat sheet?","Question",{"text":109,"@type":110},"The cheat sheet summarizes subcommands like addr, link, route, maddr, neigh, and help, with example usage for displaying relevant network information.","Answer",{"name":112,"@type":107,"acceptedAnswer":113},"How do you add or remove a multicast address with ip?",{"text":114,"@type":110},"Use maddr add to add a static link-layer multicast address to a device, and maddr del to delete it from the specified device, following the shown ip maddr add/del examples.",{"name":116,"@type":107,"acceptedAnswer":117},"Which ip commands manage routes and ARP/neighbor entries?",{"text":118,"@type":110},"Routes are managed with route add, delete, replace, and get. ARP/neighbor entries are managed with neigh add, del, and replace, including examples referencing the target IP, MAC (lladdr), and device.","https://schema.org",{"og:url":78,"og:type":121,"og:title":59,"og:site_name":91,"og:description":61},"article",{"robots":123,"canonical":78},"index,follow",{"doc_id":125,"site_id":56},572492,1792020299,{"code":4,"msg":5,"data":128},{"doc_id":125,"user_id":129,"nickname":88,"user_avatar":130,"doc_module":9,"category_id":8,"category_name":11,"doc_title":59,"doc_description":61,"doc_content":131,"file_id":132,"file_url":133,"file_type":134,"file_size":135,"view_count":101,"is_deleted":4,"is_public":9,"is_downloadable":9,"audit_status":9,"page_count":73,"language":136,"language_code":57,"site_id":56,"html_lang":57,"table_of_contents":137,"faqs":138,"seo_title":139,"seo_description":61,"update_tm":140,"read_time":9},16904993612988,"https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd","ip COMMAND CHEAT SHEET  \nfor Red Hat Enterprise Linux  \nIP QUERIES  \nSUBCOMMAND  \nDESCRIPTIONS AND TASKS  \n| addr Display IP Addresses and property information (abbreviation of address)\u003Cbr>ip addr\u003Cbr>Show information for all addresses\u003Cbr>ip addr show dev em1\u003Cbr>Display information only for device em1\u003Cbr>link Manage and display the state of all network interfaces\u003Cbr>ip link\u003Cbr>Show information for all interfaces\u003Cbr>ip link show dev em1\u003Cbr>Display information only for device em1\u003Cbr>ip -s link\u003Cbr>Display interface statistics\u003Cbr>route Display and alter the routing table\u003Cbr>ip route\u003Cbr>List all of the route entries in the kernel\u003Cbr>maddr Manage and display multicast IP addresses ip maddr\u003Cbr>Display multicast information for all devices\u003Cbr>ip maddr show dev em1\u003Cbr>Display multicast information for device em1\u003Cbr>neigh Show neighbour objects; also known as the ARP table for IPv4\u003Cbr>ip neigh\u003Cbr>Display neighbour objects\u003Cbr>ip neigh show dev em1\u003Cbr>Show the ARP cache for device em1\u003Cbr>help Display a list of commands and arguments for each subcommand\u003Cbr>ip help\u003Cbr>Display ip commands and arguments\u003Cbr>ip addr help\u003Cbr>Display address commands and arguments\u003Cbr>ip link help\u003Cbr>Display link commands and arguments\u003Cbr>ip neigh help\u003Cbr>Display neighbour commands and arguments |\n| --- |\n| MULTICAST ADDRESSING |\n| SUBCOMMAND DESCRIPTIONS AND TASKS |\n\nmaddr add Add a static link-layer multicast address  \nip maddr add 33:33:00:00:00:01 dev em1  \nAdd mutlicast address 33:33:00:00:00:01 to em1  \nmaddr del Delete a multicast address  \nip maddr del 33:33:00:00:00:01 dev em1  \nDelete address 33:33:00:00:00:01 from em1  \nMODIFYING ADDRESS AND LINK PROPERTIES  \nSUBCOMMAND  \nDESCRIPTIONS AND TASKS  \n| addr add Add an address\u003Cbr>ip addr add [192.168.1.1/24](192.168.1.1/24) dev em1\u003Cbr>Add address [192.168.1.1](192.168.1.1) with netmask 24 to device em1\u003Cbr>addr del Delete an address\u003Cbr>ip addr del [192.168.1.1/24](192.168.1.1/24) dev em1\u003Cbr>Remove address [192.168.1.1/24](192.168.1.1/24) from device em1\u003Cbr>link set Alter the status of the interface\u003Cbr>ip link set em1 up\u003Cbr>Bring em1 online\u003Cbr>ip link set em1 down\u003Cbr>Bring em1 offline\u003Cbr>ip link set em1 mtu 9000\u003Cbr>Set the MTU on em1 to 9000\u003Cbr>ip link set em1 promisc on\u003Cbr>Enable promiscuous mode for em1\u003Cbr>ADJUSTING AND VIEWING ROUTES |\n| --- |\n| SUBCOMMAND DESCRIPTIONS AND TASKS |\n| route add Add an entry to the routing table\u003Cbr>ip route add default via [192.168.1.1](192.168.1.1) dev em1\u003Cbr>Add a default route (for all addresses) via the local gateway [192.168.1.1](192.168.1.1) that can be reached on device em1\u003Cbr>ip route add [192.168.1.0/24](192.168.1.0/24) via [192.168.1.1](192.168.1.1)\u003Cbr>Add a route to [192.168.1.0/24](192.168.1.0/24) via the gateway at [192.168.1.1](192.168.1.1)\u003Cbr>ip route add [192.168.1.0/24](192.168.1.0/24) dev em1\u003Cbr>Add a route to [192.168.1.0/24](192.168.1.0/24) that can be reached on device em1\u003Cbr>route delete Delete a routing table entry\u003Cbr>ip route delete [192.168.1.0/24](192.168.1.0/24) via [192.168.1.1](192.168.1.1)\u003Cbr>Delete the route for [192.168.1.0/24](192.168.1.0/24) via the gateway at [192.168.1.1](192.168.1.1)\u003Cbr>route replace Replace, or add if not defined, a route\u003Cbr>ip route replace [192.168.1.0/24](192.168.1.0/24) dev em1\u003Cbr>Replace the defined route for [192.168.1.0/24](192.168.1.0/24) to use device em1\u003Cbr>route get Display the route an address will take\u003Cbr>ip route get [192.168.1.5](192.168.1.5)\u003Cbr>Display the route taken for IP [192.168.1.5](192.168.1.5)\u003Cbr>MANAGING THE ARP TABLE\u003Cbr>SUBCOMMAND DESCRIPTIONS AND TASKS |\n\nneigh add Add an entry to the ARP Table  \nip neigh add [192.168.1.1](192.168.1.1) lladdr 1:2:3:4:5:6 dev em1  \nAdd address [192.168.1.1](192.168.1.1) with MAC 1:2:3:4:5:6 to em1  \nneigh del Invalidate an entry  \nip neigh del [192.168.1.1](192.168.1.1) dev em1  \nInvalidate the entry for [192.168.1.1](192.168.1.1) on em1  \nneigh replace Replace, or adds if not defined, an entry to the ARP table ip neigh replace [192.168.1.1](192.168.1.1) lladdr 1:2","cbCaiajI8D3POuCL","https://ap.wps.com/l/cbCaiajI8D3POuCL","pdf",89608,"English","# IP QUERIES\n## SUBCOMMAND DESCRIPTIONS AND TASKS\n# MULTICAST ADDRESSING\n# MODIFYING ADDRESS AND LINK PROPERTIES\n# ADJUSTING AND VIEWING ROUTES\n# MANAGING THE ARP TABLE\n# USEFUL NETWORKING COMMANDS\n# COMPARING NET-TOOLS VS. IPROUTE PACKAGE COMMANDS","[{\"question\":\"What are the main ip query subcommands covered in the cheat sheet?\",\"answer\":\"The cheat sheet summarizes subcommands like addr, link, route, maddr, neigh, and help, with example usage for displaying relevant network information.\"},{\"question\":\"How do you add or remove a multicast address with ip?\",\"answer\":\"Use maddr add to add a static link-layer multicast address to a device, and maddr del to delete it from the specified device, following the shown ip maddr add/del examples.\"},{\"question\":\"Which ip commands manage routes and ARP/neighbor entries?\",\"answer\":\"Routes are managed with route add, delete, replace, and get. ARP/neighbor entries are managed with neigh add, del, and replace, including examples referencing the target IP, MAC (lladdr), and device.\"}]","ip Command Cheat Sheet - for Red Hat Enterprise Linux | PDF",1791927732]