This example shows how to configure IS-IS.
• Requirements on page 111
• Overview on page 111
• Configuration on page 111
• Verification on page 113
Requirements
Before you begin, configure network interfaces. See theJunos OS Interfaces Configuration Guide for Security Devices.
Overview
In this example, you configure the 49.0001.00a0.c96b.c490.00 NET address on the lo0 interface. Additionally, you configure the ISO family on the ge-0/0/1 physical interface.
Configuration
CLI Quick Configuration
To quickly configure this example, copy the following commands, paste them into a text file, remove any line breaks, change any details necessary to match your network configuration, and then copy and paste the commands into the CLI at the [edit] hierarchy level.
set security forwarding-options family iso mode packet-based
set interfaces lo0 unit 0 family iso address 49.0001.00a0.c96b.c490.00 set interfaces ge-0/0/01 unit 0 family iso address 49.0001.00a0.c96b.c490.00 set protocols isis interface all
Step-by-Step Procedure
The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration Mode in theJunos OS CLI User Guide.
To configure IS-IS:
1. Enable IS-IS if your router is in secure context.
[edit]
user@host# set security forwarding-options family iso mode packet-based
NOTE: Additionally, you must configure the ISO family on all interfaces that are supporting the IS-IS protocol.
2. Create the loopback interface.
[edit]
user@host# edit interfaceslo0 unit 0 3. Set the NET address.
[edit interfaces lo0 unit 0]
user@host# set family iso address 49.0001.00a0.c96b.c490.00 4. Configure the physical interface.
[edit]
user@host# edit interfaces ge-0/0/01 unit 0 5. Set the NET address.
[edit interfaces ge-0/0/0 unit 0]
user@host# set family iso address 49.0001.00a0.c96b.c490.00 6. Set IS-IS.
[edit ]
user@host# set protocols isis interface all
Results From configuration mode, confirm your configuration by entering the show interfaces and show protocolscommands. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.
For brevity, this show interfaces and show protocols command output includes only the configuration that is relevant to this example. Any other configuration on the system has been replaced with ellipses (...).
[edit]
user@host# show interfaces ge-0/0/1 {
unit 0 { family inet { ...
}
family iso {
address 49.0001.00a0.c96b.c490.00;
} } } lo0 {
unit 0 { family inet { ...
}
family iso {
address 49.0001.00a0.c96b.c490.00;
} } } [edit]
user@host# show protocols isis {
interface all;
}
If you are done configuring the device, enter commit from configuration mode.
Verification
To confirm that the configuration is working properly, perform these tasks:
• Verifying IS-IS Interface Configuration on page 113
• Verifying IS-IS Interface Configuration in Detail on page 113
• Verifying IS-IS Adjacencies on page 114
• Verifying IS-IS Adjacencies in Detail on page 114
Verifying IS-IS Interface Configuration Purpose Verify the status of the IS-IS-enabled interfaces.
Action From operational mode, enter the show isis interface brief command.
user@host> show isis interface brief IS-IS interface database:
Interface L CirID Level 1 DR Level 2 DR lo0.0 3 0x1 router1 router.01 ge-0/0/1.0 2 0x9 Disabled router.03 ge-1/0/0.0 2 0x7 Disabled router.05
Meaning Verify that the output shows the intended configuration of the interfaces on which IS-IS is enabled.
Verifying IS-IS Interface Configuration in Detail
Purpose Verify the details of IS-IS-enabled interfaces.
Action From operational mode, enter the show isis interface detail command.
user@host> show isis interface detail lo0.0
Index:3, State:0x7, Circuit id: 0x1, Circuit type:3 LSP interval: 100 ms, Sysid: router1
Level Adjacencies Priority Metric Hello(s) Hold(s) 1 0 64 0 9 27 2 0 64 0 9 27 ge-0/0/1.0
Index:3, State:0x106, Circuit id: 0x9, Circuit type:2 LSP interval: 100 ms, Sysid: router1
Level Adjacencies Priority Metric Hello(s) Hold(s) 1 0 64 0 9 27 2 0 64 0 9 27
Meaning Check the following output fields and verify that the output shows the intended configuration of IS-IS-enabled interfaces:
• Interface—Interface configured for IS-IS.
• State—Internal implementation information.
• Circuit id—Circuit identifier.
• Circuit type—Configured level of IS-IS:
• 1—Level 1 only
• 2—Level 2 only
• 3—Level 1 and Level 2
• LSP interval—Time between IS-IS information messages.
• Sysid—System identifier.
• L or Level—Type of adjacency:
• 1—Level 1 only
• 2—Level 2 only
• 3—Level 1 and Level 2
• Adjacencies—Adjacencies established on the interface.
• Priority—Priority value established on the interface.
• Metric—Metric value for the interface.
• Hello(s)—Intervals between hello PDUs.
• Hold(s)—Hold time on the interface.
Verifying IS-IS Adjacencies
Purpose Display brief information about IS-IS neighbors.
Action From operational mode, enter the show isis adjacency brief command.
user@host> show isis adjacency brief IS-IS adjacency database:
Interface System L State Hold (secs) SNPA ge-0/0/0.0 1921.6800.5067 2 Up 13 ge-0/0/1.0 1921.6800.5067 2 Up 25 ge-0/0/2.0 1921.6800.5067 2 Up 19
Meaning Verify the adjacent routers in the IS-IS database.
Verifying IS-IS Adjacencies in Detail
Purpose Display extensive information about IS-IS neighbors.
Action From operational mode, enter the show isis adjacency extensive command.
user@host> show isis adjacency extensive R1
Interface: so-0/0/0.0, Level: 2, State: Up, Expires in 25 secs
Priority: 0, Up/Down transitions: 1, Last transition: 4w6d 19:38:52 ago Circuit type: 2, Speaks: IP, IPv6
Topologies: Unicast Restart capable: Yes IP addresses: 10.1.12.1 Transition log:
When State Reason Wed Jul 13 16:26:11 Up Seenself
R3
Interface: so-0/0/1.0, Level: 2, State: Up, Expires in 23 secs
Priority: 0, Up/Down transitions: 1, Last transition: 6w5d 19:07:16 ago Circuit type: 2, Speaks: IP, IPv6
Topologies: Unicast Restart capable: Yes IP addresses: 10.1.23.2 Transition log:
When State Reason Thu Jun 30 16:57:46 Up Seenself
R6
Interface: so-0/0/2.0, Level: 2, State: Up, Expires in 25 secs
Priority: 0, Up/Down transitions: 1, Last transition: 6w0d 18:01:18 ago Circuit type: 2, Speaks: IP, IPv6
Topologies: Unicast Restart capable: Yes IP addresses: 10.1.26.2 Transition log:
When State Reason Tue Jul 5 18:03:45 Up Seenself
Meaning Check the following fields and verify the adjacency information about IS-IS neighbors:
• Interface—Interface through which the neighbor is reachable.
• L or Level—Configured level of IS-IS:
• 1—Level 1 only
• 2—Level 2 only
• 3—Level 1 and Level 2
An exclamation point before the level number indicates that the adjacency is missing an IP address.
• State—Status of the adjacency: Up, Down, New, One-way, Initializing, or Rejected.
• Event—Message that identifies the cause of a state.
• Down reason—Reason the adjacency is down.
• Restart capable—A neighbor is configured for graceful restart.
• Transition log—List of transitions including When, State, and Reason.
Related Documentation
Junos OS Feature Support Reference for SRX Series and J Series Devices
•
• Configuring Designated Router Election Priority for IS-IS on page 116
• show isis interfacein theJunos OS Routing Protocols and Policies Command Reference
• show isis adjacencyin theJunos OS Routing Protocols and Policies Command Reference