> For the complete documentation index, see [llms.txt](https://ccie-sp.gitbook.io/ccie-spv5.1-labs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ccie-sp.gitbook.io/ccie-spv5.1-labs/labs/isis/prefix-suppression.md).

# Prefix Suppression

Load **isis.cfg**

```
#IOS-XE
config replace flash:isis.cfg

#IOS-XR
configure
load bootflash:isis.cfg
commit replace
y
```

Configure ISIS so that only the loopbacks are advertised into the IGP. Only use interface-level commands on R2 and XR2.

## Answer <a href="#id-61bb6e65-ca64-4ac6-974d-0d0f2d9877ac" id="id-61bb6e65-ca64-4ac6-974d-0d0f2d9877ac"></a>

```
#R1, R3-R6
router isis
 advertise passive-only

#R2
int gi2.12
 no isis advertise prefix
int gi2.23
 no isis advertise prefix
int gi2.24
 no isis advertise prefix

#XRv1
router isis 1
 add ipv4
  advertise passive-only

#XRv2
router isis 1
 int gi0/0/0/0.1920
  suppressed
```

## Explanation <a href="#id-1b38dde3-d4d1-80f1-a16e-c97ac2affaf7" id="id-1b38dde3-d4d1-80f1-a16e-c97ac2affaf7"></a>

Previously, routers advertised their loopback (using the passive-interface Lo0 command) and their directly connected interface network on all interfaces that had ISIS activated:

<div align="left"><figure><img src="/files/9vZ6fI6j5V4iN2ho3ks9" alt=""><figcaption></figcaption></figure></div>

In ISIS, the link address is not part of the underlying topology. It is simply advertised as an additional prefix in the IP reachability TLV. By configuring **advertise passive-only** we instruct the router to suppress all prefixes except for the passive interfaces, which in our case is only Lo0.

<div align="left"><figure><img src="/files/bYx0KdtcSTzzaLi4zsxz" alt=""><figcaption></figcaption></figure></div>

This can be done on a router-by-router basis. It does not need to match within the network.

The question might arise then: How does R2 have the correct nexthop for R1’s loopback? We don’t see R1 advertising its nexthop anywhere in the LSP. The answer is that R1 advertises its interface address in the Hello. This is how R2 knows what to use for the nexthop to 1.1.1.1.

<figure><img src="/files/nO4XmKJ2QOemBjoGXrzt" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ccie-sp.gitbook.io/ccie-spv5.1-labs/labs/isis/prefix-suppression.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
