Command Line Reference
IP Unicast Routing
OSPFv3 Configuration
32 min
show ipv6 ospf6 show ipv6 ospf6 \[command] show ipv6 ospf6 \[purpose] display ospfv3 details \[view] system view \[use cases] sonic# show ipv6 ospf6 show ipv6 ospf6 database show ipv6 ospf6 database \[command] show ipv6 ospf6 database \[detail|dump|internal] show ipv6 ospf6 database \[router|network|inter prefix|inter router|as external|group membership|type 7|link|intra prefix]\[detail|dump|internal] \[purpose] this command shows lsas present in the lsdb \[view] system view \[use cases] sonic# show ipv6 ospf6 database detail show ipv6 ospf6 database adv router show ipv6 ospf6 database adv router \[command] show ipv6 ospf6 database adv router a b c d linkstate id a b c d \[purpose] the lsas additinally can also be filtered with the linkstate id and advertising router fields \[parameter] parameter description a b c d ip address \[view] system view \[use cases] sonic# show ipv6 ospf6 database network adv router 1 1 1 1 linkstate id 1 1 1 1 show ipv6 ospf6 database self originated show ipv6 ospf6 database self originated \[command] show ipv6 ospf6 database self originated \[purpose] this command is used to filter the lsas which are originated by the present router \[view] system view \[use cases] sonic# show ipv6 ospf6 database self originated show ipv6 ospf6 interface show ipv6 ospf6 interface \[command] show ipv6 ospf6 interface \[ ethernet interface name |vlan vlan id |link aggregation lag id ] \[purpose] to see ospf interface configuration like costs \[parameter] parameter description interface name ethernet interface name (0 54) vlan id vlan id (1 4094) lag id link aggregation interface number \[view] system view \[use cases] sonic# show ipv6 ospf6 interface ethernet 1 show ipv6 ospf6 neighbor show ipv6 ospf6 neighbor \[command] show ipv6 ospf6 neighbor \[purpose] show state and chosen (backup) dr of neighbor \[view] system view \[use cases] sonic# show ipv6 ospf6 neighbor show ipv6 ospf6 interface traffic show ipv6 ospf6 interface traffic \[command] show ipv6 ospf6 interface traffic \[purpose] show counts of different packets that have been received and transmitted by the interfaces \[view] system view \[use cases] sonic# show ipv6 ospf6 interface traffic show ipv6 route ospf6 show ipv6 route ospf6 \[command] show ipv6 route ospf6 \[purpose] this command shows internal routing table \[view] system view \[use cases] sonic# show ipv6 route ospf6 show ipv6 ospf6 redistribute show ipv6 ospf6 redistribute \[command] show ipv6 ospf6 redistribute \[purpose] show the routes which are redistributed by the router \[view] system view \[use cases] sonic# show ipv6 ospf6 redistribute show ipv6 ospf6 route show ipv6 ospf6 route \[command] show ipv6 ospf6 route x\ x x \ x /m match \[detail] \[purpose] the additional match option will match the given address to the destination of the routes, and return the result accordingly \[view] system view \[use cases] sonic# show ipv6 ospf6 route 1 1/64 match detail show ipv6 ospf6 interface prefix show ipv6 ospf6 interface prefix \[command] show ipv6 ospf6 interface \[ ethernet interface name |vlan vlan id |link aggregation lag id ] prefix \[ detail | x\ x x \ x | x\ x x \ x /m \[match|detail]] \[purpose] this command shows the prefixes present in the interface routing table interface name can also be given \[parameter] parameter description interface name ethernet interface name (0 54) vlan id vlan id (1 4094) lag id link aggregation interface number \[view] system view \[use cases] sonic# show ipv6 ospf6 interface ethernet 1 prefix 1 1/64 match ospf6 router id ospf6 router id \[command] ospf6 router id a b c d \[purpose] this sets the router id of the ospf6 process \[parameter] parameter description a b c d ospf6 router id in ip address format \[view] ospf view \[use cases] sonic# configure terminal sonic(config)# router ospf6 sonic(config router)# ospf6 router id 1 1 1 1 timers throttle spf timers throttle spf \[command] timers throttle spf delay time init hold time max hold time no timers throttle spf delay time init hold time max hold time \[purpose] this command sets the initial delay, the initial holdtime and the maximum holdtime \[parameter] parameter description delay time time (msec) (0 600000) init hold time inital time (msec) (0 600000) max hold time maxtime (msec) (0 600000) \[view] ospf view \[use cases] sonic# configure terminal sonic(config)# router ospf6 sonic(config router)# timers throttle spf 1 2 3 auto cost reference bandwidth auto cost reference bandwidth \[command] auto cost reference bandwidth bandwidth no auto cost reference bandwidth bandwidth \[purpose] this command configures the auto cost reference broadband for ospfv3 \[parameter] parameter description bandwidth the reference bandwidth in terms of mbits per second (1 4294967) \[view] ospf view \[use cases] sonic# configure terminal sonic(config)# router ospf6 sonic(config router)# auto cost reference bandwidth 2 area area \[command] area { a b c d | area id } range x\ x x \ x /m \[ advertise| not advertise |cost metric ] no area { a b c d | area id } range x\ x x \ x /m \[ advertise| not advertise |cost metric ] \[purpose] summarize a group of internal subnets into a single inter area prefix lsa this command can only be used at the area boundary (abr router) \[parameter] parameter description x\ x x \ x /m ipv6 prefix a b c d ospf router id metric advertised metric for this range (0 16777215) \[view] ospf view \[use cases] sonic# configure terminal sonic(config)# router ospf6 sonic(config router)# area 1 1 1 1 range 1 1/64 advertise ipv6 ospf6 cost ipv6 ospf6 cost \[command] ipv6 ospf6 cost cost no ipv6 ospf6 cost cost \[purpose] set link cost for the specified interface \[parameter] parameter description cost cost (1 65535) \[view] interface view \[use cases] sonic# configure terminal sonic(config)# interface ethernet 49 sonic(config if 49)# ipv6 ospf6 cost 12 ipv6 ospf6 hello interval ipv6 ospf6 hello interval \[command] ipv6 ospf6 hello interval interval \[ a b c d ] no ipv6 ospf6 hello interval interval \[ a b c d ] \[purpose] sets interface’s hello interval default value is 10 \[parameter] parameter description interval seconds (1 65535) a b c d address of interface \[view] interface view \[use cases] sonic# configure terminal sonic(config)# interface ethernet 49 sonic(config if 49)# ip ospf hello interval 2 1 1 1 1 ipv6 ospf6 dead interval ipv6 ospf6 dead interval \[command] ipv6 ospf6 dead interval interval no ipv6 ospf6 dead interval interval \[purpose] set interface’s router dead interval default value is 40 \[parameter] parameter description interval seconds (1 65535) \[view] interface view \[use cases] sonic# configure terminal sonic(config)# interface ethernet 49 sonic(config if 49)# ipv6 ospf6 dead interval 2 ipv6 ospf6 transmit delay ipv6 ospf6 transmit delay \[command] ipv6 ospf6 transmit delay interval no ipv6 ospf6 transmit delay interval \[purpose] set number of seconds for inftransdelay value \[parameter] parameter description interval seconds (1 65535) \[view] interface view \[use cases] sonic# configure terminal sonic(config)# interface ethernet 49 sonic(config if 49)# ipv6 ospf6 retransmit interval 2 ipv6 ospf6 priority ipv6 ospf6 priority \[command] ipv6 ospf6 priority priority no ipv6 ospf6 priority priority \[purpose] set router priority integer value \[parameter] parameter description priority priority (0 255) \[view] interface view \[use cases] sonic# configure terminal sonic(config)# interface ethernet 49 sonic(config if 49)# ipv6 ospf6 priority 12 ipv6 ospf6 retransmit interval ipv6 ospf6 retransmit interval \[command] ipv6 ospf6 retransmit interval interval no ipv6 ospf6 retransmit interval interval \[purpose] set number of seconds for rxmtinterval timer value \[parameter] parameter description interval seconds (1 65535) \[view] interface view \[use cases] sonic# configure terminal sonic(config)# interface ethernet 49 sonic(config if 49)# ipv6 ospf6 retransmit interval 2 ipv6 ospf6 network {broadcast|point to point} ipv6 ospf6 network {broadcast|point to point} \[command] ipv6 ospf6 network {broadcast|point to point} no ipv6 ospf6 network {broadcast|point to point} \[purpose] set explicitly network type for specified interface \[view] interface view \[use cases] sonic# configure terminal sonic(config)# interface ethernet 49 sonic(config if 49)# ipv6 ospf6 network broadcast ipv6 ospf6 mtu ignore ipv6 ospf6 mtu ignore \[command] ipv6 ospf6 mtu ignore no ipv6 ospf6 mtu ignore \[purpose] ignore mtu when establish ospfv3 \[view] interface view \[use cases] sonic# configure terminal sonic(config)# interface ethernet 49 sonic(config if 49)# ipv6 ospf6 mtu ignore redistribute redistribute \[command] redistribute { babel|bgp|connected|eigrp|isis|kernel|openfabric|ospf|rip|sharp|static|table } \[ route map route map ] no redistribute { babel|bgp|connected|eigrp|isis|kernel|openfabric|ospf|rip|sharp|static|table } \[ route map route map ] \[purpose] redistribute routes of the specified protocol or kind into ospfv3, with the metric type and metric set if specified, filtering the routes using the given route map if specified \[parameter] parameter description route map pointer to route map entries \[view] ospf view \[use cases] sonic# configure terminal sonic(config)# router ospf6 sonic(config router)# redistribute static route map test
