Lệnh ip route

Chapter Description

In this sample chapter from CCNA 200-301 Official Cert Guide, Volume 1, Wendell Odom discusses the configuration and verification steps related lớn three methods of routing between VLANs with three major sections: VLAN Routing with Router 802.1Q Trunks, VLAN Routing with Layer 3 Switch SVIs, & VLAN Routing with Layer 3 Switch Routed Ports.

Bạn đang xem: Lệnh ip route

From the Book


CCNA 200-301 Official Cert Guide, Volume 1

$35.99 (Save 20%)

Commvà References

Tables 17-4 & 17-5 các mục configuration and verification commands used in this chapter. As an easy Đánh Giá exercise, cover the left column in a table, read the right column, and try lớn reCall the commvà without looking. Then repeat the exercise, covering the right column, and try khổng lồ regọi what the comm& does.

Table 17-4 Chapter 17 Configuration Command Reference



interface type number.subint

Router global commvà lớn create a subinterface và to enter configuration mode for that subinterface

encapsulation dot1q vlan-id <native>

Router subinterface subcommand that tells the router to use 802.1Q trunking, for a particular VLAN, and with the native keyword, khổng lồ not encapsulate in a trunking header

<no> ip routing

Global comm& that enables (ip routing) or disables (no ip routing) the routing of IPv4 packets on a router or Layer 3 switch

interface vlan vlan-id

A switch global commvà on a Layer 3 switch to lớn create a VLAN interface and to lớn enter configuration mode for that VLAN interface

sdm prefer lanbase-routing

Command on some Cisteo switches that reallocates forwarding chip memory to allow for an IPv4 routing table

<no> switchport

Layer 3 switch subcomm& that makes the port act as a Layer 2 port (switchport) or Layer 3 routed port (no switchport)

interface port-channel channel-number

A switch commvà lớn enter PortChannel configuration mode & also to create the PortChannel if not already created

channel-group channel-number mode passive

Interface subcomm& that enables EtherChannel on the interface

Table 17-5 Chapter 17 EXEC Comm& Reference



show ip route

Lists the router’s entire routing table

show ip route <connected>

Lists a subphối of the IP. routing table

show vlans

Lists VLAN configuration & statistics for VLAN trunks configured on routers

show interfaces <interface type number>

Lists detailed status & statistical information, including IP. address and mask, about all interfaces (or the listed interface only)

show interfaces <interface type number> status

Aý muốn other facts, for switch ports, lists the access VLAN or the fact that the interface is a trunk; or, for routed ports, lists “routed”

show interfaces interface-id switchport

For switch ports, lists information about any interface regarding administrative sầu settings & operational state; for routed ports, the output simply confirms the port is a routed (not switched) port

show interfaces vlan number

Lists the interface status, the switch’s IPv4 address & mask, and much more

show etherchannel <channel-group-number> summary

Lists information about the state of EtherChannels on this switch, including whether the channel is a Layer 2 or Layer 3 EtherChannel


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to lớn provide information about Cisteo Press products & services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy và describes how we collect, protect, use và chia sẻ personal information collected through this site. Please note that other Pearson websites and online products & services have their own separate privacy policies.

Collection và Use of Information

To conduct business và deliver products and services, Pearson collects & uses personal information in several ways in connection with this site, including:

Questions và Inquiries

For inquiries và questions, we collect the inquiry or question, together with name, contact details (email address, phone number & mailing address) và any other additional information voluntarily submitted lớn us through a Liên hệ Us size or an tin nhắn. We use this information to lớn address the inquiry and respond khổng lồ the question.

Online Store

For orders và purchases placed through our online store on this site, we collect order details, name, institution name và address (if applicable), email address, phone number, shipping và billing addresses, credit/debit card information, shipping options and any instructions. We use this information lớn complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, và for related purposes.


Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions & uses the information to lớn evaluate, support, maintain and improve products, services or sites; develop new products & services; conduct educational research; and for other purposes specified in the survey.

Contests & Drawings

Occasionally, we may sponsor a conchạy thử or drawing. Participation is optional. Pearson collects name, liên hệ information & other information specified on the entry khung for the condemo or drawing khổng lồ conduct the conkiểm tra or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize và for tax reporting purposes, as required by law.


If you have sầu elected to lớn receive tin nhắn newsletters or promotional mailings và special offers but want to lớn unsubscribe, simply email information

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an gmail. Generally, users may not opt-out of these communications, though they can deactivate their tài khoản information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to lớn provide requested services and in regard to issues relating lớn their tài khoản we reply via gmail or phone in accordance with the users" wishes when a user submits their information through our Liên hệ Us khung.

Other Collection and Use of Information

Application & System Logs

Pearson automatically collects log data lớn help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected lớn this site, such as browser type, type of computer/device, operating system, internet service provider và IP.. address. We use this information for tư vấn purposes & khổng lồ monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond lớn security incidents và appropriately scale computing resources.

Web Analytics

Pearson may use third tiệc nhỏ web trend analytical services, including Google Analytics, lớn collect visitor information, such as IPhường addresses, browser types, referring pages, pages visited và time spent on a particular site. While these analytical services collect & report information on an anonymous basis, they may use cookies lớn gather website trover information. The information gathered may enable Pearson (but not the third các buổi tiệc nhỏ web trover services) to liên kết information with application and system log data. Pearson uses this information for system administration và to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent & respond to lớn security incidents, appropriately scale computing resources and otherwise support và deliver this site and its services.

Xem thêm: Vitamin C Amway Có Nên Uống Vitamin C Của Amway Có Tốt Không

Cookies & Related Technologies

This site uses cookies & similar technologies to personalize nội dung, measure traffic patterns, control security, trachồng use & access of information on this site, and provide interest-based messages and advertising. Users can manage & bloông chồng the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to lớn Do Not Trachồng signals.


Pearson uses appropriate physical, administrative and technical security measures khổng lồ protect personal information from unauthorized access, use và disclosure.


This site is not directed khổng lồ children under the age of 13.


Pearson may sover or direct sale communications lớn users, provided that

Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising. Such sale is consistent with applicable law và Pearson"s legal obligations. Pearson will not knowingly direct or sover sale communications to lớn an individual who has expressed a preference not khổng lồ receive kinh doanh. Where required by applicable law, express or implied consent lớn kinh doanh exists và has not been withdrawn.

Pearson may provide personal information to lớn a third tiệc ngọt service provider on a restricted basis khổng lồ provide sale solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information

If a user"s personally identifiable information changes (such as your postal address or gmail address), we provide a way khổng lồ correct or update that user"s personal data provided to us. This can be done on the Account page. If a user no longer desires our service và desires to delete his or her tài khoản, please tương tác us at customer-service
informit.com and we will process the deletion of a user"s trương mục.


Users can always make an informed choice as khổng lồ whether they should proceed with certain services offered by Cisteo Press. If you choose to lớn remove sầu yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.12guns.vn/u.aspx.

Sale of Personal Information

Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevadomain authority residents may gmail a request for no sale of their personal information to NevadaDesignatedRequest

Supplemental Privacy Statement for California Residents

California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson"s commitment to lớn comply with California law & applies khổng lồ personal information of California residents collected in connection with this site và the Services.

Sharing and Disclosure

Pearson may discthua kém personal information, as follows:

As required by law. With the consent of the individual (or their parent, if the individual is a minor) In response to a subpoena, court order or legal process, to the extent permitted or required by law To protect the security and safety of individuals, data, assets and systems, consistent with applicable law In connection the sale, joint venture or other transfer of some or all of its company or assets, subject lớn the provisions of this Privacy Notice To investigate or address actual or suspected fraud or other illegal activities To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract To affiliated Pearson companies & other companies & organizations who perform work for Pearson & are obligated to lớn protect the privacy of personal information consistent with this Privacy Notice To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.


This website site contains liên kết lớn other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users khổng lồ be aware when they leave our site & lớn read the privacy statements of each & every website site that collects Personal Information. This privacy statement applies solely to information collected by this website site.

Requests and Contact

Please liên hệ us about this Privacy Notice or if you have any requests or questions relating to lớn the privacy of your personal information.

Changes to lớn this Privacy Notice

We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made khổng lồ provide greater clarity or khổng lồ comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please tương tác us if you have questions or concerns about the Privacy Notice or any objection to lớn any revisions.