Command Line Reference
IP Unicast Routing
RIPng configuration
18 min
ripng configuration ripng configuration show ipv6 ripng {vrf show ipv6 ripng {vrf name } \[command] show ipv6 ripng {vrf name } \[purpose] view the routing table of ripng routing protocol \[view] system view \[use cases] sonic# show ipv6 ripng codes r ripng, c connected, s static, o ospf, b bgp sub codes (n) normal, (s) static, (d) default, (r) redistribute, (i) interface, (a/s) aggregated/suppressed network next hop via metric tag time c(i) 2002 /64 \ self 1 0 r(n) 2005 /64 fe80 106c 4bff\ fe0b\ c16b ethernet3 2 0 02 27 show ipv6 ripng status show ipv6 ripng status \[command] show ipv6 ripng status \[purpose] view detailed status and configuration information of ripng routing protocol \[view] system view \[use cases] sonic# show ipv6 ripng status routing protocol is "ripng" sending updates every 30 seconds with +/ 50%, next due in 16 seconds timeout after 180 seconds, garbage collect after 120 seconds outgoing update filter list for all interface is not set incoming update filter list for all interface is not set default redistribution metric is 1 redistributing connected static default version control send version 1, receive version 1 interface send recv ethernet3 1 1 routing for networks ethernet3 routing information sources gateway badpackets badroutes distance last update fe80 106c 4bff\ fe0b\ c16b 0 0 120 00 00 04 ipv6 ripng split horizon \[poisoned reverse] ipv6 ripng split horizon \[poisoned reverse] \[command] ipv6 ripng split horizon \[poisoned reverse] \[purpose] configure horizontal cutting with ripng enabled on the interface, and also enable both horizontal cutting and toxicity reversal simultaneously horizontal segmentation do not re advertise the route from the receiving interface to prevent the router from re advertising the learned route back to the source this feature is enabled by default toxicity reversal for routes learned from a certain interface, they are still advertised back from that interface, but the metric value is set to 16 (unreachable), which means "poisoning" the route it belongs to the advanced level of horizontal segmentation this function needs to be manually activated \[view] system view \[use cases] sonic(config)# interface ethernet 3 sonic(config if 3)# ipv6 ripng split horizon poisoned reverse router ripng \[vrf router ripng \[vrf name ] \[command] router ripng \[vrf name ] \[purpose] enable ripng routing process, which is a prerequisite for all other ripng configurations and supports specifying specific vrfs afterwards \[parameter] parameter description description name vrf name \[view] interface configuration view \[use cases] sonic(config)# router ripng sonic(config router)# network { network { x\ x x \ x /m |ethernet interface num |vlan vlan id |link aggregation lag id } \[command] network { x\ x x \ x /m |ethernet interface num |vlan vlan id |link aggregation lag id } \[purpose] enable ripng based on network address or interface type when specifying a network address, all interfaces with ip addresses within the specified network will start sending and receiving ripng messages when specifying the interface type, ripng messages will be sent and received on the specified interface \[parameter] parameter description description x\ x x\ x/m configure ipv6 addresses with masks to specify the declared network segment, such as 2005 10/96 interface num the id of the physical interface, ranging from 1 to 16 vlan id vlan id, ranging from 1 to 4096 lag id the id of lag, ranging from 1 to 9999 \[view] ripng configuration view \[use cases] sonic(config)# router ripng sonic(config router)# network ethernet 3 passive interface {default|ethernet passive interface {default|ethernet interface num |vlan vlan id |link aggregation lag id } \[command] passive interface {default|ethernet interface num |vlan vlan id |link aggregation lag id } \[purpose] set a passive interface that only receives ripng updates and does not send multicast/broadcast updates (but sends unicast updates to neighbors specified by the neighbor command) when set to default, it applies to all interface types within the ripng \[parameter] parameter description description interface num the id of the physical interface, ranging from 1 to 16 vlan id vlan id, ranging from 1 to 4096 lag id the id of lag, ranging from 1 to 9999 \[view] rip configuration view \[use cases] sonic(config)# router rip sonic(config router)# passive interface ethernet 3 redistribute redistribute protocol \[command] redistribute protocol \[purpose] perform route redistribution by introducing routes from other routing protocols (such as bgp, ospf, direct connection, static, etc ) into ripng \[parameter] parameter description description protocol specify the routing protocol type to be introduced, such as connected, static, bgp, ospf, etc \[view] ripng configuration view \[use cases] sonic(config)# router ripng sonic(config router)# redistribute static default information originate default information originate \[command] default information originate \[purpose] inject a default route ( /0) into the ripng network, usually requiring the router to already have a default route \[view] ripng configuration view \[use cases] sonic(config)# router ripng sonic(config router)# default information originate route route x\ x x\ x/m \[command] route x\ x x \ x /m \[purpose] create static routes that only exist within ripng processes \[view] ripng configuration view \[use cases] sonic(config)# router ripng sonic(config router)# route 2005 10/128 ipv6 distribute list prefix ipv6 distribute list prefix string \[in|out] {ethernet interface num |vlan vlan id |link aggregation lag id } \[command] ipv6 distribute list prefix string \[in|out] {ethernet interface num |vlan vlan id |link aggregation lag id } \[purpose] set the distribution list of ripng and use access control lists or prefix lists to filter route updates in the input or output direction of the interface in filters routes learned from neighbors, and out filters routes declared to neighbors can be applied to global or specific interfaces \[parameter] parameter description description string prefix list name interface num the id of the physical interface, ranging from 1 to 16 vlan id vlan id, ranging from 1 to 4096 lag id the id of lag, ranging from 1 to 9999 \[view] ripng configuration view \[use cases] sonic(config)# router ripng sonic(config router)# distribute list prefix test in ethernet 3 aggregate address aggregate address x\ x x\ x/m \[command] aggregate address x\ x x \ x /m \[purpose] summarize more specific routes and announce the summarized routes; can reduce routing table size and update message overhead \[view] ripng configuration view \[use cases] sonic(config)# router ripng sonic(config router)# aggregate address 2005 /64 default metric default metric value \[command] default metric value \[purpose] set the default metric value for redistributing incoming routes, which defaults to 1 and does not affect the redistribution metric of directly connected routes \[parameter] parameter description description value configuration range 1 16 \[view] ripng configuration view \[use cases] sonic(config)# router ripng sonic(config router)# default metric 2 timers basic timers basic update timeout garbage \[command] timers basic update timeout garbage \[purpose] adjust the key timer of ripng update the time interval for sending the complete routing table (default is 30 seconds) timeout route failure timeout (default 180 seconds) garbage garbage collection time before the route is removed (default is 120 seconds) \[parameter] parameter description description update configurable range 5 2147483647, default 30s timeout configurable range 5 2147483647, default 180s garbage configurable range 5 2147483647, default 120s \[view] ripng configuration view \[use cases] sonic(config)# router ripng sonic(config router)# timers basic 40 200 150 allow ecmp allow ecmp \[command] allow ecmp \[purpose] used for load balancing, the quantity is the maximum supported by the system by default, this ecmp advanced feature is turned off \[view] rip configuration view \[use cases] sonic(config)# router rip sonic(config router)# allow ecmp
