Command Line Reference
IP Route
ISIS Configuration
37 min
show isis database show isis database \[command] show isis database {detail|json} \[purpose] display the is is link state database known to the local router \[parameter] parameter description detail display detailed information from the isis link state database json isis link state database information in json format \[view] system view \[use cases] sonic# show isis database area test1 is is level 2 link state database lsp id pdulen seqnumber chksum holdtime att/p/ol sonic 00 00 82 0x0000000a 0x97f5 383 0/0/0 sonic 00 00 82 0x00000007 0x49ab 321 0/0/0 sonic 1f 00 52 0x00000005 0x7d14 412 0/0/0 3 lsps area test2 is is level 1 link state database lsp id pdulen seqnumber chksum holdtime att/p/ol sonic 00 00 83 0x00000008 0x4c8f 454 1/0/0 sonic 00 00 83 0x00000007 0x6fb0 455 1/0/0 sonic 20 00 51 0x00000005 0xadca 452 1/0/0 3 lsps is is level 2 link state database lsp id pdulen seqnumber chksum holdtime att/p/ol sonic 00 00 83 0x00000008 0x449f 401 0/0/0 sonic 00 00 83 0x00000007 0x67c0 452 0/0/0 sonic 20 00 51 0x00000005 0xa5da 396 0/0/0 3 lsps area test3 is is level 1 link state database lsp id pdulen seqnumber chksum holdtime att/p/ol sonic 00 00 82 0x00000008 0x3d30 446 0/0/0 sonic 00 00 82 0x00000007 0xeae7 468 0/0/0 sonic 21 00 52 0x00000005 0x6d24 439 0/0/0 3 lsps show isis summary show isis summary \[command] show isis summary \[json] \[purpose] display isis summary information \[parameter] parameter description up time isis runtime l1 iih number of level 1 lan hello messages p2p iih number of peer to peer hello messages l1 lsp number of level 1 link state messages l1 csnp level 1 number of complete serial number messages l1 psnp number of partial serial number messages in level 1 lsp rxmt number of lsp messages retransmitted \[view] system view \[use cases] sonic# show isis summary vrf default process id 54 system id 0000 0000 0140 up time 1d01h41m ago number of areas 1 area test net 47 0000 0000 0140 00 tx counters per pdu type l1 iih 4 p2p iih 32413 l1 lsp 110 l1 csnp 10266 l1 psnp 231 lsp rxmt 0 rx counters per pdu type p2p iih 32423 l1 lsp 233 l1 csnp 10266 l1 psnp 110 drop counters per pdu type p2p iih 2 advertise high metrics disabled level 1 lsp0 regenerated 111 lsps purged 0 spf minimum interval 1 ipv4 route computation last run elapsed 00 11 44 ago last run duration 333 usec run count 341 show isis hostname show isis hostname \[command] show isis hostname \[purpose] view the mapping between hostnames and system ids in the is is protocol \[parameter] parameter description dynamic dynamic hostname mapping hostname static hostname mapping \[view] system view \[use cases] sonic# show isis hostname vrf default level system id dynamic hostname 1 0000 0000 0185 sonic 1 0000 0000 0107 sonic 0000 0000 0140 sonic show isis interface show isis interface \[command] show isis interface {ethernet ifname |vlan vlan id |link aggregation lag id |detail} \[purpose] display the status of the designated isis interface or all enabled isis interfaces \[view] system view \[use cases] sonic# show isis interface area test interface circid state type level eth 13 0x30 up lan l1 area test1 interface circid state type level eth 46 0x11 up lan l2 area test2 interface circid state type level eth 47 0xe up lan l1l2 area test3 interface circid state type level eth 48 0xf up lan l1 show isis neighbor show isis neighbor \[command] show isis neighbor {detail|json| system id } \[purpose] display the status and information of isis neighbors \[view] system view \[use cases] 6 2 5 show isis neighbor {detail|json|\<system id>} \[command] show isis neighbor {detail|json|\<system id>} \[purpose] display the status and information of isis neighbors \[parameter] \<systemid> specify the neighbor's system id \[view] system view \[use cases] sonic# show isis neighbor area test system id interface l state holdtime snpa sonic eth 13 1 up 30 000e c656 9d35 area test1 system id interface l state holdtime snpa sonic eth 46 2 up 29 60eb 5103 1140 area test2 system id interface l state holdtime snpa sonic eth 47 1 up 27 60eb 5103 1140 sonic eth 47 2 up 28 60eb 5103 1140 area test3 system id interface l state holdtime snpa sonic eth 48 1 up 28 60eb 5103 1140 show isis route \[command] show isis route {level 1|level 2|backup} \[purpose] display all route entries learned by the current device via the is is routing protocol \[view] system view \[use cases] sonic# show isis route area test1 is is paths to level 2 routers that speak ip vertex type metric next hop interface parent \ sonic 100 0 46 0/24 ip internal 0 sonic(3) sonic is 10 sonic eth 22 sonic(3) sonic is is l2 ipv4 routing table prefix metric interface nexthop label(s) \ 100 0 46 0/24 0 show isis fast reroute s show isis fast reroute s ummary \[command] show isis fast reroute summary \[level 1|level 2] \[purpose] display isis routing protection statistics \[view] system view \[use cases] sonic# show isis fast reroute summary area test1 is is l2 ipv4 fast reroute summary protection \ priority critical high medium low total \ classic lfa 0 0 0 0 0 remote lfa 0 0 0 0 0 topology independent lfa 0 0 0 0 0 ecmp 0 0 0 0 0 unprotected 0 0 0 0 0 protection coverage 0 00% 0 00% 0 00% 0 00% 0 00% router isis router isis \[command] router isis name \[vrf name ] \[purpose] configure the isis instance name and navigate to the isis instance configuration view \[view] system configuration view \[notes] isis cannot establish neighbors over the loopback interface; if isis is enabled on the loopback interface, it will simply forward the loopback interface's routes through other isis interfaces \[use cases] sonic# configure terminal sonic(config)# router isis test net net \[command] net xx xxxx xxxx xxxx xx \[purpose] configure net \[parameter] parameter description xx xxxx xxxx xxxx xx network entity tag (net), where the first two digits represent the region id, the middle twelve digits represent the isis system id, and the last two digits represent the sel (nsap selector), which is typically 00 \[view] isis configuration view \[notes] in net, the region id is a variable field that can be configured as either xx or xx xxxx in level 1, devices must be in the same region to establish a neighbor relationship properly \[use cases] sonic# configure terminal sonic(config)# router isis test sonic(config router)# net 11 1111 1111 1111 00 password \[command] area password md5 password domain password md5 password area password md5 clear domain password md5 clear \[purpose] authentication between configuration regions or routing domains \[parameter] parameter description area password inter zone authentication, such as authentication between level 1 and level 1 zones or between level 1 and level 2 zones domain password authentication between routing domains, such as between level 2 and level 2 routing domains or between level 1 and level 2 routing domains clear explicit authentication password ciphertext authentication \[view] isis configuration view \[use cases] sonic# configure terminal sonic(config)# router isis test sonic(config router)# area password md5 test123 fast reroute load sharing disable fast reroute load sharing disable \[command] fast reroute load sharing disable \[level 1|level 2] \[purpose] disable load balancing for lfa backup paths within the specified region \[view] isis configuration view \[notes] the device has the lfa backup path load balancing feature enabled by default if the primary link fails and multiple backup paths are available, load balancing will be performed using ecmp \[use cases] sonic# configure terminal sonic(config)# router isis test sonic(config router)# fast reroute load sharing disable level 1 fast reroute priority limit fast reroute priority limit \[command] fast reroute priority limit {critical|high|medium} \[level 1|level 2] \[purpose] enable lfa backup path calculation for different routing levels \[parameter] parameter description critical calculate lfa backup paths only for critical level routes high compute lfa backup paths for critical and high priority routes medium calculate lfa backup paths for critical, high, and medium priority routes \[view] isis configuration view \[notes] by default, the device calculates lfa backup paths for all routing levels \[use cases] sonic# configure terminal sonic(config)# router isis test sonic(config router)# fast reroute priority limit critical level 1 fast reroute lfa tiebreaker fast reroute lfa tiebreaker \[command] fast reroute lfa tiebreaker {downstream|lowest backup metric|node protecting} index index id \[level 1|level 2] \[purpose] configure the lfa backup path calculator and set priorities \[parameter] parameter description downstream prefer paths where the cost of reaching the next hop to the destination is lower than the cost of reaching the destination directly lowest backup metric select the backup path with the lowest total cost node protecting give priority to backup paths that do not pass through the next hop on the main route index id the smaller the number, the higher the priority range 1–255 \[view] isis configuration view \[notes] the lfa backup path calculation resolver supports multiple configurations and allows you to set different priorities for sequential matching \[use cases] sonic# configure terminal sonic(config)# router isis test sonic(config router)# fast reroute lfa tiebreaker node protecting index 10 level 1 metric style metric style \[command] metric style {narrow|transition|wide} \[purpose] configure the mode for setting the router's metric \[parameter] parameter description narrow traditional narrow metric model transition transition mode, supporting both narrow and wide metrics wide width based mode \[view] isis configuration view \[notes] isis devices configured in narrow mode and wide mode cannot establish neighbors properly; they must be set to transition mode to facilitate the transition \[use cases] sonic# configure terminal sonic(config)# router isis test sonic(config router)# metric style narrow redistribute redistribute \[command] redistribute {ipv4|ipv6} {kernel|connected|static|ospf|bgp|table} {level 1|level 2} \[metric value |route map name ] \[purpose] publish a routing agreement to the designated routing area via an isis neighbor \[parameter] parameter description metric value set the metric value for the route configuration range 0 16777215 route map name bind routing policies to filter published routes \[view] isis configuration view \[notes] isis automatically announces the routing information associated with the interfaces bound to isis instances \[use cases] sonic# configure terminal sonic(config)# router isis test sonic(config router)# redistribute ipv4 ospf level 1 metric 10 is type is type \[command] is type {level 1|level 1 2|level 2 only} \[purpose] define the isis router level \[parameter] parameter description level 1 site router level 1 2 it can function as both a site router and a zone router level 2 area router \[view] isis configuration view \[use cases] sonic# configure terminal sonic(config)# router isis test sonic(config router)# is type level 1 ip router isis ip router isis \[command] ip router isis name \[vrf name ] ipv6 router isis name \[vrf name ] \[purpose] bind an isis instance to an interface \[view] interface configuration view \[use cases] sonic# configure terminal sonic(config)# interface ethernet 49 sonic(config if 49)# ip router isis test isis circuit type isis circuit type \[command] isis circuit type {level 1|level 1 2|level 2 only} \[purpose] set the isis router level for the interface \[view] interface configuration view \[notes] if the router level of the isis instance is set to level 1 but the interface is configured as level 2, this will cause the isis neighbor establishment to fail \[use cases] sonic# configure terminal sonic(config)# interface ethernet 49 sonic(config if 49)# isis circuit type level 1 isis hello padding isis hello padding \[command] isis hello padding \[purpose] add padding to the is is hello packet to bring it up to the interface mtu size \[view] interface configuration view \[notes] this feature is enabled by default if you do not want to pad the hello message with meaningless fields, you must configure “no isis hello padding” \[use cases] sonic# configure terminal sonic(config)# interface ethernet 49 sonic(config if 49)# isis hello padding isis hello interval isis hello interval \[command] isis hello interval \[level 1|level 2] interval \[purpose] set the interval for sending hello packets on different router interfaces \[parameter] parameter description interval interval between sending hello messages; default 3 seconds; configurable range 1–600 \[view] interface configuration view \[use cases] sonic# configure terminal sonic(config)# interface ethernet 49 sonic(config if 49)# isis hello interval level 1 2 isis hello multiplier isis hello multiplier \[command] isis hello multiplier \[level 1|level 2] interval \[purpose] set the isis neighbor keepalive interval to a multiple of the hello packet interval \[parameter] parameter description interval interval between sending hello messages; default 3 seconds; configurable range 1–600 \[view] interface configuration view \[notes] the isis neighbor keepalive interval = hello interval hello multiplier modifying the hello interval and hello multiplier parameters will change the keepalive interval for the peer's isis neighbors \[use cases] sonic# configure terminal sonic(config)# interface ethernet 49 sonic(config if 49)# isis hello multiplier level 1 5 isis metric isis metric \[command] isis metric \[level 1|level 2] metric num \[purpose] routing metrics for device interfaces \[parameter] parameter description metric num default value 20; configurable range 0 16777215; the lower the value, the higher the priority \[view] interface configuration view \[use cases] sonic# configure terminal sonic(config)# interface ethernet 49 sonic(config if 49)# isis metric level 1 100 isis network point to point isis network point to point \[command] isis network point to point \[purpose] set the network type for the device interface to point to point \[view] interface configuration view \[notes] the device's default network type is broadcast \[use cases] sonic# configure terminal sonic(config)# interface ethernet 49 sonic(config if 49)# isis network point to point isis passive isis passive \[command] isis passive \[purpose] set the interface to passive mode \[view] interface configuration view \[notes] in passive mode, isis neighbor relationships are disconnected and no isis hello messages are sent; only routing synchronization with neighbors occurs \[use cases] sonic# configure terminal sonic(config)# interface ethernet 49 sonic(config if 49)# isis passive isis password isis password \[command] isis password md5 password isis password clear \[purpose] configure interface authentication \[parameter] parameter description md5 password authentication password clear plaintext verification \[view] interface configuration view \[notes] after the interface authentication fails, an isis neighbor relationship cannot be established properly \[use cases] sonic# configure terminal sonic(config)# interface ethernet 49 sonic(config if 49)# isis password md5 test isis priority isis priority \[command] isis priority priority \[level 1|level 2] \[purpose] configure the priority parameters for the interfaces; the interface with the highest priority will be designated as the dis \[parameter] parameter description priority priority (0–127), default 64; the higher the value, the higher the priority \[view] interface configuration view \[use cases] sonic# configure terminal sonic(config)# interface ethernet 49 sonic(config if 49)# isis priority 2 isis csnp interval isis csnp interval \[command] isis csnp interval interval \[level 1|level 2] \[purpose] configure the csnp message transmission interval for isis \[parameter] parameter description interval message interval, configurable range 1–600 seconds \[view] interface configuration view \[notes] when this parameter is set to a value greater than 1, there will be a random time deviation of up to 10% of the packet transmission interval this limit is intended to prevent a large number of csnp packets from being sent simultaneously \[use cases] sonic# configure terminal sonic(config)# interface ethernet 49 sonic(config if 49)# isis csnp interval 10 level 1 isis three way handshake isis three way handshake \[command] isis three way handshake \[purpose] enable or disable the three way handshake when establishing a p2p connection the three way handshake is enabled by default \[view] interface configuration view \[use cases] sonic# configure terminal sonic(config)# interface ethernet 49 sonic(config if 49)#three way handshake
