Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Configuring an LPM Table With Junos OS Release 13.2X51-D10

 

In addition to choosing a profile, you can further optimize memory allocation for LPM table entries by configuring how many IPv6 addresses with prefixes in the range /65 through /127 you want to store. If you want to use more than 16 IPv6 addresses with prefixes in this range, you must enter and commit the following statement:

[edit]

user@switch# set chassis forwarding-options profile-name num-65-127-prefix value

in which value can be a value in the range 1 through 128. Each increment adds support for 16 IPv6 addresses with prefixes between /65 and /127, for a maximum of 2048 such addresses (16 x 128 = 2048). The system supports 16 of these addresses by default, so to increase the number of supported addresses, you must enter a value of 2 or greater. For example, if you enter 2, the system will support 32 IPv6 addresses with prefixes in the range /65 through /127.

Note

When you configure the num-65-127-prefix value, all the data interfaces on the switch restart. The management interfaces are unaffected.

The LPM table is shared, and each increment that you add for IPv6 addresses with prefixes in the range /65 through /127 reduces the number of forwarding table entries that are available for IPv4 addresses and IPv6 addresses with prefixes less than /65. Table 1 provides examples of valid combinations that the LPM table can store, also using the l2-profile-one profile. Once again, each row in the table represents a case in which the table is full and cannot accommodate any more entries.

Table 1: Example LPM Table Combinations Using l2-profile-one With Junos OS 13.2X51-D10

IPv4 entriesIPv6 Entries (prefix <= 64)IPv6 Entries (prefix >= 65)num-65-127-prefix

16K

0K

16

1 (default)

0K

8K

16

1 (default)

8K

4K

16

1 (default)

4K

4K

1K

64

2K

5K

1K

64

0K

6K

1K

64

4K

2K

2K

128

2K

3K

2K

128

0K

4K

2K

128

Table 2 provides examples of valid combinations that the LPM table can store when you use the lpm-profile profile. As before, each row represents a case in which the table is full and cannot accommodate any more entries.

Table 2: Example LPM Table Combinations Using lpm-profile With Junos OS 13.2X51-D10

IPv4 entriesIPv6 Entries (prefix <= 64)IPv6 Entries (prefix >= 65)num-65-127-prefix

128K

0K

16

1 (default)

0K

8K

16

1 (default)

8K

4K

16

1 (default)

4K

4K

1K

64

2K

5K

1K

64

0K

6K

1K

64

4K

2K

2K

128

2K

3K

2K

128

0K

4K

2K

128