Huawei IS-IS basic configuration

Configuration command:

1. Create IS-IS process:

  1. Run the system-view command to enter the system view.
  2. Run the isis [process-id] [vpn-instance vpn-instance-name] command to create an IS-IS process and enter the IS-IS view.
    The parameter process-id is used to specify an IS-IS process. If the parameter process-id is not specified, the system default process is 1. The IS-IS process can be associated with a VPN instance. In this case, you need to specify the VPN instance name.
  3. (Optional) Run the description description command to set description information for the IS-IS process.

2. Configure the network entity name:
Background: The network entity name NET is a special form of NSAP (Network Service Access Point). After entering the IS-IS view, the NET configuration of the IS-IS process must be completed before the IS-IS protocol can be started. .

Generally, only one NET is configured under one IS-IS process. When the area needs to be re-divided, such as combining multiple areas, or dividing an area into multiple areas, in this case, configuring multiple NETs can still ensure the correctness of the routing during reconfiguration. Because up to 3 area addresses can be configured in an IS-IS process, only 3 area addresses can be configured for NET. When configuring multiple NETs, ​​you must ensure that their System IDs are the same.

Under the isis process: network-entity xx, set the network entity name.

3. Configure the global level:
Background: It is recommended to configure the level of the device according to the needs of network planning.
• When the Level is Level-1, the device only forms neighbor relationships with Level-1 and Level-1-2 devices belonging to the same area, and is only responsible for maintaining the Level-1 link state database LSDB.
• When the Level is Level-2, the device can form a neighbor relationship with Level-2 devices in the same or different areas or Level-1-2 devices in other areas, and only maintain a Level-2 LSDB.
• A router that belongs to both Level-1 and Level-2 is called a Level-1-2 router. It can form a Level-1 neighbor relationship with Level-1 and Level-1-2 routers in the same area, or with other areas. Level-2 and Level-1-2 routers form a Level-2 neighbor relationship. Level-1 routers must pass through Level-1-2 routers to connect to other areas. The Level-1-2 router maintains two LSDBs, the Level-1 LSDB is used for intra-area routing, and the Level-2 LSDB is used for inter-area routing.

Under the isis process: is-level {level-1 | level-1-2 | level-2} //Set the Level of the device. By default, the level of the device is level-1-2.

Check command:

  1. Run the display isis peer [verbose] [process-id | vpn-instance vpn-instance-name | interface interface-type interface-number] [peer-system-id system-id] command to view IS-IS neighbor information.
    Insert picture description here
    The detailed information after adding the verbose parameter:
    Insert picture description here
    you can see the peer's area ID, peer's IP address, System ID, Type, etc.

  2. Run the display isis interface [verbose] [vpn-instance vpn-instance-name] command to view the IS-IS-enabled interface information.
    Insert picture description here
    You can see the time when the interface sends L1 and L2 packets, the cost value, and the interface priority of the packets.

  3. Run the display isis route [process-id | vpn-instance vpn-instance-name] [ipv4] [verbose | [level-1 | level-2] | ip-address [mask | mask-length]] * command to view IS -IS routing information.
    Insert picture description here
    There should be a default route in the routing table of the L1 router, and the next hop is the L1/2 router, and the L2 router should have both L1 and L2 routers. "IntCost" is the cost of IS-IS routing, "ExtCost" is the cost of other protocol routes imported from outside, "ExitInterface" is the outgoing interface of the route, and "NextHop" is the next hop address of the route. When the destination network segment is a directly connected network segment, it is displayed as Direct, and "Flags" is the routing information label. The labels of different routes are as follows:
    D: indicates a direct route
    A: indicates that this route is added to the unicast routing table
    L: Indicates that this route is advertised through LSP

Sorting information from: Huawei hedex document

Guess you like

Origin blog.csdn.net/tushanpeipei/article/details/112673695